<?php
namespace PsiFramework\Classes\Util\Parameters\Action;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * The v class is the class to manage action forward parameters
 *
 * @package Util.Parameters.Action
 */
class ActionForward
{

    protected /*string*/ $_name ;
    protected /*string*/ $_page ;
    protected /*string*/ $_redirectionAction ;
    protected /*string*/ $_redirectToLink ;

    public function __construct(
        /*string*/ $name=null,
        /*string*/ $page=null,
        /*string*/ $redirectionAction=null,
        /*string*/ $redirectToLink=null)
    {
        $this->_name = $name ;
        $this->_page = $page ;
        $this->_redirectionAction = $redirectionAction ;
        $this->_redirectToLink = $redirectToLink ;
    }

    public function getName()
    {
        return $this->_name ;
    }

    public function getPage()
    {
        return $this->_page ;
    }

    public function getRedirectionAction()
    {
        return $this->_redirectionAction ;
    }

    public function getRedirectToLink()
    {
        return $this->_redirectToLink ;
    }

    public function setName(/*string*/ $name)
    {
        $this->_name = $name ;
    }

    public function setPage(/*string*/ $page)
    {
        $this->_page = $page ;
    }

    public function setRedirectionAction(/*string*/ $redirectionAction)
    {
        $this->_redirectionAction = $redirectionAction ;
    }

    public function setRedirectToLink(/*string*/ $redirectToLink)
    {
        $this->_redirectToLink = $redirectToLink ;
    }

}
